package assist.domain.model;

public class Penalty extends ZoneEvent
{
    private static final long serialVersionUID = 1L;
    private Integer duration;
    private String infraction;
    private Player takenBy;
    private Player drawnBy;
    /**
     * @param duration the duration to set
     */
    public void setDuration(final Integer duration)
    {
        this.duration = duration;
    }
    /**
     * @return the duration
     */
    public Integer getDuration()
    {
        return this.duration;
    }
    /**
     * @param drawnBy the drawnBy to set
     */
    public void setDrawnBy(final Player drawnBy)
    {
        this.drawnBy = drawnBy;
    }
    /**
     * @return the drawnBy
     */
    public Player getDrawnBy()
    {
        return this.drawnBy;
    }
    /**
     * @param takenBy the takenBy to set
     */
    public void setTakenBy(final Player takenBy)
    {
        this.takenBy = takenBy;
    }
    /**
     * @return the takenBy
     */
    public Player getTakenBy()
    {
        return this.takenBy;
    }
    /**
     * @param infraction the infraction to set
     */
    public void setInfraction(final String infraction)
    {
        this.infraction = infraction;
    }
    /**
     * @return the infraction
     */
    public String getInfraction()
    {
        return this.infraction;
    }
}
